package com.fastadmin.common.mail;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import javax.persistence.Table;

@Getter
@Setter
@ConfigurationProperties(prefix = "spring.mail")
@Configuration
public class EmailConfig {
    private String host;
    private String username;
    private String password;
    private String defaultEncoding;
    private String port = "465";
}
